package com.kukudb.asaproject.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("license_usage_logs")
@Data
public class LicenseUsageLogs {
    @TableId(type = IdType.AUTO)
    private Integer logId;//记录ID
    @TableField("license_id")
    private Integer licenseId;//授权ID
    @TableField("user_id")
    private Integer userId;//用户ID
    @TableField("used_value")
    private Integer usedValue;//使用值
    @TableField("usage_time")
    private Date usageTime;//使用时间
    @TableField("operation")
    private String operation;//操作类型
    @TableField("ip_address")
    private String ipAddress;//IP地址
    @TableField("device_info")
    private String deviceInfo;//设备信息
}
